package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章对象 tea_article
 *
 * @author xuzhisen
 * @date 2022-08-17
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private Long articleId;

    /** 学茶方式 */
    @Excel(name = "学茶方式")
    private Long studyId;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /** 作者 */
    @Excel(name = "作者")
    private String articleAuthor;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date articleDate;

    /** 阅读量 */
    @Excel(name = "阅读量")
    private Long articleRead;

    /** 点赞量 */
    @Excel(name = "点赞量")
    private Long articleZan;

    /** 文章段落1 */
    @Excel(name = "文章段落1")
    private String articlePara1;

    /** 文章段落2 */
    @Excel(name = "文章段落2")
    private String articlePara2;

    /** 文章段落3 */
    @Excel(name = "文章段落3")
    private String articlePara3;

    /** 文章段落4 */
    @Excel(name = "文章段落4")
    private String articlePara4;

    /** 文章段落8 */
    @Excel(name = "文章段落8")
    private String articlePara5;

    /** 文章段落6 */
    @Excel(name = "文章段落6")
    private String articlePara6;

    /** 文章段落7 */
    @Excel(name = "文章段落7")
    private String articlePara7;

    /** 文章段落8 */
    @Excel(name = "文章段落8")
    private String articlePara8;

    /** 文章段落9 */
    @Excel(name = "文章段落9")
    private String articlePara9;

    /** 文章段落10 */
    @Excel(name = "文章段落10")
    private String articlePara10;

    /** 文章图片1 */
    @Excel(name = "文章图片1")
    private String articleImg;

    /** 文章图片2 */
    @Excel(name = "文章图片2")
    private String articleImg1;

    public void setArticleId(Long articleId)
    {
        this.articleId = articleId;
    }

    public Long getArticleId()
    {
        return articleId;
    }
    public void setStudyId(Long studyId)
    {
        this.studyId = studyId;
    }

    public Long getStudyId()
    {
        return studyId;
    }
    public void setArticleTitle(String articleTitle)
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle()
    {
        return articleTitle;
    }
    public void setArticleAuthor(String articleAuthor)
    {
        this.articleAuthor = articleAuthor;
    }

    public String getArticleAuthor()
    {
        return articleAuthor;
    }
    public void setArticleDate(Date articleDate)
    {
        this.articleDate = articleDate;
    }

    public Date getArticleDate()
    {
        return articleDate;
    }
    public void setArticleRead(Long articleRead)
    {
        this.articleRead = articleRead;
    }

    public Long getArticleRead()
    {
        return articleRead;
    }
    public void setArticleZan(Long articleZan)
    {
        this.articleZan = articleZan;
    }

    public Long getArticleZan()
    {
        return articleZan;
    }
    public void setArticlePara1(String articlePara1)
    {
        this.articlePara1 = articlePara1;
    }

    public String getArticlePara1()
    {
        return articlePara1;
    }
    public void setArticlePara2(String articlePara2)
    {
        this.articlePara2 = articlePara2;
    }

    public String getArticlePara2()
    {
        return articlePara2;
    }
    public void setArticlePara3(String articlePara3)
    {
        this.articlePara3 = articlePara3;
    }

    public String getArticlePara3()
    {
        return articlePara3;
    }
    public void setArticlePara4(String articlePara4)
    {
        this.articlePara4 = articlePara4;
    }

    public String getArticlePara4()
    {
        return articlePara4;
    }
    public void setArticlePara5(String articlePara5)
    {
        this.articlePara5 = articlePara5;
    }

    public String getArticlePara5()
    {
        return articlePara5;
    }
    public void setArticlePara6(String articlePara6)
    {
        this.articlePara6 = articlePara6;
    }

    public String getArticlePara6()
    {
        return articlePara6;
    }
    public void setArticlePara7(String articlePara7)
    {
        this.articlePara7 = articlePara7;
    }

    public String getArticlePara7()
    {
        return articlePara7;
    }
    public void setArticlePara8(String articlePara8)
    {
        this.articlePara8 = articlePara8;
    }

    public String getArticlePara8()
    {
        return articlePara8;
    }
    public void setArticlePara9(String articlePara9)
    {
        this.articlePara9 = articlePara9;
    }

    public String getArticlePara9()
    {
        return articlePara9;
    }
    public void setArticlePara10(String articlePara10)
    {
        this.articlePara10 = articlePara10;
    }

    public String getArticlePara10()
    {
        return articlePara10;
    }
    public void setArticleImg(String articleImg)
    {
        this.articleImg = articleImg;
    }

    public String getArticleImg()
    {
        return articleImg;
    }
    public void setArticleImg1(String articleImg1)
    {
        this.articleImg1 = articleImg1;
    }

    public String getArticleImg1()
    {
        return articleImg1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("studyId", getStudyId())
            .append("articleTitle", getArticleTitle())
            .append("articleAuthor", getArticleAuthor())
            .append("articleDate", getArticleDate())
            .append("articleRead", getArticleRead())
            .append("articleZan", getArticleZan())
            .append("articlePara1", getArticlePara1())
            .append("articlePara2", getArticlePara2())
            .append("articlePara3", getArticlePara3())
            .append("articlePara4", getArticlePara4())
            .append("articlePara5", getArticlePara5())
            .append("articlePara6", getArticlePara6())
            .append("articlePara7", getArticlePara7())
            .append("articlePara8", getArticlePara8())
            .append("articlePara9", getArticlePara9())
            .append("articlePara10", getArticlePara10())
            .append("articleImg", getArticleImg())
            .append("articleImg1", getArticleImg1())
            .toString();
    }
}
